package com.song.ejf.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="S_USER_ROLE")
public class SRoleUser implements java.io.Serializable {

	private static final long serialVersionUID = 1165864905724337312L;
	private String id;
	private String roleId;
	private String userId;
	private String lastModifyTime;
	
	@Id
	@Column(name="ID",length=32)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name="ROLE_ID",length=32,nullable=false)
	public String getRoleId() {
		return roleId;
	}
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	@Column(name="USER_ID",length=32,nullable=false)
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	@Column(name="LASTMODIFYTIME",length=19,nullable=false)
	public String getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(String lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

}
